<?php $this->load->view('../layout/cn/header')?>
<div class="content_box">
    <div id="other_banner">
        <img src="<?php echo $action_info['classpic']; ?>" alt="<?php echo $action_info['classname']; ?>">
    </div>
    <div class="Breadcrumbs_box">
        <div class="Breadcrumbs">
            当前位置：<a href="/">首页</a> > 搜索结果
        </div>
    </div>
    <div class="content">
        <div class="product_left">
            <div class="product_zs">
                <span class="product_zsti">搜索结果</span>
                <ul>
                    <li class="product_name"><a>搜索结果</a></li>
                </ul>
                <span class="pro_botbg">联系我们</span>
                <div class="contact1">
                    <ul>
                        <li class="phone">公司电话：<?php echo $contact['telphone']; ?></li>
                        <li class="phone400">400电话：  <?php echo $contact['tel400']; ?></li>
                        <li class="js_phone">技术支持：<?php echo $contact['tecsupport']; ?></li>
                        <li class="chuanzhen">公司传真：<?php echo $contact['fax']; ?></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="product_right">
            <div class="gs_new">
                <ul>
                    <?php if(!empty($result)){ ?>
                        <?php foreach($result as $key=>$val): ?>
                            <?php if($key >= $start_key && $key < $end_key){ ?>
                                <li style="background: url(/static/web/images/nsxsj.png) no-repeat left center">
                                    <?php if($val['type'] == 'product'){ ?>
                                        <a href="product-details-<?php echo $val['productid']?>.html"><?php echo $val['productname']; ?></a>
                                    <?php }else if($val['type'] == 'article'){ ?>
                                        <a href="/cn/article-details-<?php echo $val['articleid']?>.html"><?php echo $val['title']; ?></a>
                                    <?php }?>
                                    <span><?php echo date('Y-m-d',strtotime($val['addtime'])); ?></span>
                                </li>
                            <?php }?>
                        <?php endforeach; ?>
                    <?php } ?>
                </ul>
            </div>
            <?php echo $page_str;?>
        </div>
    </div>
    <?php $this->load->view('../layout/cn/footer')?>